package com.toocms.jinjuhang.data.index

import com.toocms.jinjuhang.data.goods.CommodityItemData

data class IndexData(
    val banners: List<BannerItemData>?,
    val notice: List<NoticeData>?,
    val navs: List<NavsItemData>?,
    val section: List<SectionItemData>?,
    val igoods: List<ICommodityListItemData>?,
    val rec_goods: List<CommodityItemData>?,
)

data class BannerItemData(
    val ad_id: String?,
    val target_rule: String?,
    val param: String?,
    val abs_url: String?
)

data class NavsItemData(
    val name: String?,
    val target_rule: String?,
    val param: String?,
    val icon_path: String?
)

data class SectionItemData(
    val title: String?,
    val section_target_rule: String?,
    val section_param: String?,
    val layout: String?,
    val configure: List<ConfigureItemData>?,
)

data class ConfigureItemData(
    val cover: String?,
    val target_rule: String?,
    val param: String?,
    val cover_path: String?
)

data class ICommodityListItemData(
    val id: String?,
    val title: String?,
    val target_rule: String?,
    val param: String?,
    val goods: List<CommodityItemData>?
)

data class NoticeData(
    val news_id: String?,
    val title: String?
)




